﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="TypeEditor.aspx.cs" Inherits="Votations.NSurvey.WebAdmin.TypeEditor" %>
<%@ Register TagPrefix="uc1" TagName="TypeOptionControl" Src="UserControls/TypeOptionControl.ascx" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentLinkAction" runat="server">
    <span class="action-span"><a href="SurveyContentBuilder.aspx?SurveyID=<%=SurveyId%>">
        <%=GetPageResource("SurveyBuilderHyperlink")%></a> &nbsp;&nbsp;   <a href="EditSingleQuestionAnswers.aspx?SurveyID=<%=SurveyId%>">
        <%=GetPageResource("AnswerEditorHyperlink")%></a> &nbsp;&nbsp;   <a href="TypeEditor.aspx?SurveyID=<%=SurveyId%>">
        <%=GetPageResource("TypeBuilderHyperlink")%></a></span>
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="ContentTitle" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentMain" runat="server">
<LINK href="css/nsurveyadmin.css" type=text/css rel=stylesheet >
<table class="TableLayoutContainer" cellspacing="0" cellpadding="0">
<tr>
<td class="contentCell"  valign="top">
	<Table Class="Innertext">
	<Tr>
	<Td Colspan="2">
	<Font Class="Titlefont"><asp:Literal id="AnswerTypeBuilderTitle" runat="server" EnableViewState="False">Answer type builder</asp:Literal></Font>
	<Br><Img Src="images/Linebreak.Gif">
	</Td>
	</Tr>
	<Tr>
	<Td>
	&nbsp;&nbsp;
	</Td>
	<Td>
		<Table Class="Innertext" >
        <tr>
          <td>
                  <P><asp:Literal id="TypeToEditLabel" runat="server" EnableViewState="False">Select a type to edit / view :</asp:Literal> <BR>
           <asp:DropDownList id="TypesDropDownList" runat="server" AutoPostBack="True" onselectedindexchanged="Type_IndexChanged"></asp:DropDownList>&nbsp;<asp:Literal id="BuiltInTypeNotEditedLabel" runat="server" EnableViewState="False">(built in types cannot be 
                  edited)</asp:Literal><BR>&nbsp;<BR><b><asp:HyperLink id="CreateTypeHyperLink" runat="server">Click here to create a new type ...</asp:HyperLink></P></B>
		  </td>
		</tr>
		</Table>	
	</Td>
	</Tr>
	</Table><br><br>

<uc1:TypeOptionControl id="TypeOption" runat="server" Visible="False"></uc1:TypeOptionControl>

</td></tr>
</table>
</asp:Content>
